home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000595_ken@phy.ucsf.edu_Thu May 12 21:41:14 1994.msg < prev    next >
Internet Message Format  |  1994-10-11  |  6KB

  1. Received: from cgl.ucsf.EDU by cs.umb.edu with SMTP id AA27665
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Fri, 13 May 1994 07:42:31 -0400
  3. Received: from coltrane.ucsf.EDU by cgl.ucsf.EDU (8.6.7/GSC4.24)
  4.     id EAA05439 for <tex-k@cs.umb.edu>; Fri, 13 May 1994 04:42:30 -0700
  5. Received: by coltrane.ucsf.EDU (5.65/GSC4.19)
  6.     id AA05726; Fri, 13 May 1994 04:41:14 -0700
  7. Date: Fri, 13 May 1994 04:41:14 -0700
  8. From: ken@phy.ucsf.edu
  9. Message-Id: <9405131141.AA05726@coltrane.ucsf.EDU>
  10. To: tex-k@cs.umb.edu
  11. Subject: umm ... there really IS a problem, still ...
  12.  
  13. Now that I have installed my fonts, I am afraid I still have a problem
  14. with tex, xdvi and dvips:
  15.  
  16. namely:
  17.  
  18. Their default search paths are wrong.
  19. They can find fonts and sty files just fine if the search paths are in my
  20.     environment;
  21. But if nothing is in my environment, xdvi and dvips turn to MakeTeXPK,
  22.     and tex can't find article.sty ...
  23. (I just checked this by running identical xdvi, dvips, or tex commands
  24. simultaneously in two windows on the same machine, one window has the
  25. environmental variables set, one does not).
  26.  
  27. -- when my environment variables are NOT set, dvips -d 7 shows:
  28.  
  29. config path:    .:~:/usr/local/lib/texmf/dvips
  30. PK path:        .:/usr/local/lib/tex/fonts:/usr/local/lib/tex/fonts/tmp
  31. TFM path:       .:/usr/local/lib/tex/fonts:/usr/local/lib/tex/fonts/tmp
  32. VF path:        .:/usr/local/lib/tex/fonts:/usr/local/lib/tex/fonts/tmp
  33. pict path:      .:/usr/local/lib/tex/macros
  34. header path:    .:/usr/local/lib/texmf/dvips:/usr/local/lib/texmf/fonts//type1
  35. fig path:       .:/usr/local/lib/tex/macros
  36.  
  37. -- when my environment variables ARE set, dvips -d 7 shows:
  38.  
  39. config path:    .:~:/usr/local/lib/texmf/dvips
  40. PK path:        .:/usr/local/lib/texmf/fonts//pk//
  41. TFM path:       .:/usr/local/lib/texmf/fonts//tfm
  42. VF path:        .:/usr/local/lib/texmf/fonts//vf
  43. pict path:      .:/usr/local/lib/texmf/tex//
  44. header path:    .:/usr/local/lib/texmf/dvips:/usr/local/lib/texmf/fonts//type1
  45. fig path:       .:/usr/local/lib/texmf/tex//
  46.  
  47. This is in spite of the fact that kpathsea/paths.h is correct (see below).
  48.  
  49. I have this problem with xdvi and dvips, and with TeX with either the new
  50. or the old kpathsea, so it is not a problem with the change in kpathsea.
  51.  
  52. Either I am doing something wrong, or OSF1 V. 2.0 + program = something
  53. wrong???????
  54.  
  55. Thanks for any help,
  56.  
  57. Ken
  58. ken@phy.ucsf.edu
  59.  
  60. ------------------------------------------------------------------------
  61.  
  62. /* THE FOLLOWING IS THE PATHS.H USED IN COMPILATION OF DVIPS: */
  63.  
  64. /* paths.h: Generated from paths.h.in (Wed May 11 16:40:27 PDT 1994).  */
  65. /* paths.h.in: fallback paths for TeX file searching.  Kpathsea doesn't
  66.    provide format-specific routines for all these, but it still
  67.    seems best to centralize the definitions.
  68.    
  69.    The meanings of all these paths are described in the various
  70.    programs' documentation.  Various environment variables override these.
  71.  
  72.    By the way, // means to search subdirectories (recursively). A
  73.    leading %% means to look only in the ls-R db, not on the disk. See the
  74.    Kpathsea manual for full details.
  75.    
  76.    See kpathsea/INSTALL for a description of how the various
  77.    path-related files are used and created, and how to change the
  78.    default paths.  */
  79.  
  80. /* TeX and MF inputs, and the default for eps figures.  */
  81. #ifndef DEFAULT_TEX_PATH
  82. #define DEFAULT_TEX_PATH ".:/usr/local/lib/texmf/tex//"
  83. #endif
  84. #ifndef DEFAULT_MF_PATH
  85. /* It's pointless to search the adobe, bitstream, etc. directories for
  86.    Metafont sources, but we want at least ams/ and public/, and who
  87.    knows if there might be others.  */
  88. #define DEFAULT_MF_PATH ".:/usr/local/lib/texmf/mf//:/usr/local/lib/texmf/fonts//src//"
  89. #endif
  90.  
  91. /* Dumped formats.  */
  92. #ifndef DEFAULT_FMT_PATH
  93. #define DEFAULT_FMT_PATH ".:/usr/local/lib/texmf/ini"
  94. #endif
  95. #ifndef DEFAULT_BASE_PATH
  96. #define DEFAULT_BASE_PATH ".:/usr/local/lib/texmf/ini"
  97. #endif
  98.  
  99. /* INI* string pool files.  */
  100. #ifndef DEFAULT_TEXPOOL_PATH
  101. #define DEFAULT_TEXPOOL_PATH "/usr/local/lib/texmf/ini"
  102. #endif
  103. #ifndef DEFAULT_MFPOOL_PATH
  104. #define DEFAULT_MFPOOL_PATH "/usr/local/lib/texmf/ini"
  105. #endif
  106.  
  107. #ifndef DEFAULT_TFM_PATH /* TeX font metric files.  */
  108. #define DEFAULT_TFM_PATH ".:/usr/local/lib/texmf/fonts//tfm"
  109. #endif
  110.  
  111. #ifndef DEFAULT_VF_PATH /* Virtual font metrics.  */
  112. #define DEFAULT_VF_PATH ".:/usr/local/lib/texmf/fonts//vf"
  113. #endif
  114.  
  115. /* The TeX bitmap formats.  */
  116. #ifndef DEFAULT_GLYPH_PATH /* This is for texfonts.map. */
  117. #define DEFAULT_GLYPH_PATH ".:/usr/local/lib/texmf/fonts//"
  118. #endif
  119. #ifndef DEFAULT_GF_PATH
  120. #define DEFAULT_GF_PATH ".:/usr/local/lib/texmf/fonts//gf"
  121. #endif
  122. #ifndef DEFAULT_PK_PATH
  123. #define DEFAULT_PK_PATH ".:/usr/local/lib/texmf/fonts//pk//"
  124. #endif
  125.  
  126. /* BibTeX bibliographies and styles.  */
  127. #ifndef DEFAULT_BIB_PATH
  128. #define DEFAULT_BIB_PATH ".:/usr/local/lib/texmf/bibtex/bib"
  129. #endif
  130. #ifndef DEFAULT_BST_PATH
  131. #define DEFAULT_BST_PATH ".:/usr/local/lib/texmf/bibtex/bst"
  132. #endif
  133.  
  134. /* Dvips' configuration files.  */
  135. #ifndef DEFAULT_CONFIG_PATH
  136. #define DEFAULT_CONFIG_PATH ".:~:/usr/local/lib/texmf/dvips"
  137. #endif
  138.  
  139. /* Dvips' PostScript prologues, and downloadable fonts (.pf[ab] files).  */
  140. #ifndef DEFAULT_HEADER_PATH
  141. #define DEFAULT_HEADER_PATH ".:/usr/local/lib/texmf/dvips:/usr/local/lib/texmf/fonts//type1"
  142. #endif
  143.  
  144. /* Dvips' and xdvi's epsf and ps figures.  It is probably a mistake to
  145.    make this more restrictive than the DEFAULT_TEX_PATH, because TeX
  146.    needs to be able to read the .eps files also. */
  147. #ifndef DEFAULT_FIG_PATH
  148. #define DEFAULT_FIG_PATH DEFAULT_TEX_PATH
  149. #endif
  150.  
  151. /* Dvips' TIFF files, etc.  */
  152. #ifndef DEFAULT_PICT_PATH
  153. #define DEFAULT_PICT_PATH DEFAULT_FIG_PATH
  154. #endif